题目地址 (opens new window)
解题代码
class Solution { public void deleteNode(ListNode node) { node.val = node.next.val; node.next = node.next.next; } }
← LeetCode 分发饼干 LeetCode 单词子集 →